package com.lb.shopguide.ui.activity;

import android.os.Bundle;

import com.lb.shopguide.R;
import com.lb.shopguide.config.UserConfigManager;
import com.lb.shopguide.constants.AppConstant;
import com.lb.shopguide.base.BaseActivity;
import com.lb.shopguide.ui.fragment.guide.goods.FragmentGoodsDetail;

import me.yokeyword.fragmentation.anim.FragmentAnimator;

/**
 * Created by kang on 2017/7/21.
 */

public class GoodsDetailActivity extends BaseActivity {

    private UserConfigManager mUserConfigManager;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_guide);
        mUserConfigManager = UserConfigManager.getInstance(this);
        String productCode = getIntent().getStringExtra(AppConstant.PRODUCT_CODE);
        loadRootFragment(R.id.fl_container, FragmentGoodsDetail.newInstance(productCode, AppConstant.GOODS_DETAIL_FROM_CHAT));
    }

    @Override
    public FragmentAnimator onCreateFragmentAnimator() {
        return super.onCreateFragmentAnimator();
    }
}
